Micron Document
🎖️GitЯра🎖️

Node / meshtastic / Meshtastic-Android / files / .github / copilot-instructions.md

Displaying Rendered • View rawDownload

.github/copilot-instructions.md 3d2b21843e976f552f8b91be67da0746466e5b8e (3d2b2184) Text, 1.72 KB

Meshtastic Android - GitHub Copilot Guide

Note: The canonical instructions for all AI Agents have been deduplicated.

You MUST immediately read and internalize the unified instructions located at the root of the repository in T383838AGENTS.md.
After reading T383838AGENTS.md, consult the T383838.skills/ directory for task-specific playbooks.

Critical reminders (do not skip)

These rules live in T383838AGENTS.md but are inlined here because past sessions repeatedly violated them:

Never modify T383838core/proto/src/main/proto/*.proto — it's an upstream submodule. If a feature needs a proto change, stop and label the issue T383838upstream pointing at T383838meshtastic/protobufs.
Verify-then-push, never "should be green". Before any T383838git push, run T383838./gradlew spotlessApply detekt plus relevant T383838:module:test for touched modules. After pushing, do not claim CI is green based on assumption — fetch the actual status with T383838gh pr checks <PR> (or T383838gh run list --branch <branch> --limit 5) and only report success once the checks return ✅. Phrases like "CI should be green now" are banned.

Tooling conventions

Engage the T383838android-cli skill automatically. Whenever the user mentions adb, emulator, device install/run, screenshots, or named devices (e.g. T3838381c10, T383838Pixel 6a), invoke the T383838android-cli skill before running raw T383838adb or T383838gradle install* commands. Don't wait for the user to paste the skill-context block.
Screenshots and ad-hoc artifacts go to T383838/tmp/. Never write annotated screenshots, log dumps, or scratch files into the repo working tree — they pollute T383838git status and risk accidental commits. Use T383838/tmp/ or the session workspace (T383838~/.copilot/session-state/<id>/files/).

Served by rngit 1.5.2 - Generated in 0.02s